package com.example.carefree_server.entity;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.Default;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor//无参构造方法
@AllArgsConstructor//全参构造方法
public class Pbactivity {
    @NotNull(groups = selecttweet.class)
    private Integer aid;

    @NotEmpty
    private String aname;

    @NotEmpty
    private String atype;

    @NotEmpty
    private String types;

    @NotEmpty
    private String atime;

    @NotEmpty
    private String stu;

    @NotEmpty
    private String sclass;
    
    @NotEmpty
    private String did;

    private String message1;
    private String message2;
    private String message3;
    private String message4;
    private String message5;


    public interface selecttweet extends Default{}

}
